<%@include file="/WEB-INF/jsp/taglib.jsp" %>


<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script>
        var opmap={};

        function gotoPanel(targetType){
            if(targetType == 'postManage')
                location.href="<spring:url value="/maintain/postManage" />";
            if(targetType == 'userManage')
                location.href="<spring:url value="/maintain/userManage" />";
            if(targetType == 'communityManage')
                location.href="<spring:url value="/maintain/communityManage" />";
            if(targetType == 'courseManage')
                location.href="<spring:url value="/maintain/courseManage" />";
            if(targetType == 'courseManageCheck')
                location.href="<spring:url value="/maintain/courseManageCheck" />";
        }


        function initOpMapping(){

            opmap["帖子管理模块"]="javascript:gotoPanel('postManage');";
            opmap["用户管理模块"]="javascript:gotoPanel('userManage');";
            opmap["版块管理模块"]="javascript:gotoPanel('communityManage');";
            opmap["课程上传模块(教师用)"]="javascript:gotoPanel('courseManage');";
            opmap["课程上传模块(审核用)"]="javascript:gotoPanel('courseManageCheck');";
        }
        initOpMapping();
        function opMapping(blockName){
            eval(opmap[blockName]);
        }
    </script>
</head>
<body>
<br/><br/><br/>



<table style="width:930px;">
    <tbody>
    <%--//权限设置等--%>
    <tr>
        <td style="padding-left:20px;padding-bottom:5px">
            <input value="帖子管理模块" onclick="opMapping('帖子管理模块')" type="button">
        </td>
        <td style="padding-left:20px;padding-bottom:5px">
            <input value="用户管理模块" onclick="opMapping('用户管理模块')" type="button">
        </td>
        <td style="padding-left:20px;padding-bottom:5px">
            <input value="版块管理模块" onclick="opMapping('版块管理模块')" type="button">
        </td>
        <td style="padding-left:20px;padding-bottom:5px">
            <input value="课程上传模块(教师用)" onclick="opMapping('课程上传模块(教师用)')" type="button">
        </td>
        <td style="padding-left:20px;padding-bottom:5px">
            <input value="课程上传模块(审核用)" onclick="opMapping('课程上传模块(审核用)')" type="button">
        </td>
    </tr>
    </tbody>
</table>
<br/><br/><br/><br/>



<div id="popup_content" class="openBox">
    <div id="popup_message" style="height: 122px;">
        <table style="margin-left:10px" cellspacing="0" cellpadding="0" border="0">
            <tbody>
            <tr>
                <td style="width:40px"></td>
                <td style="width:60px">
                    <label style="margin-bottom: 0px;font-size: 12px;line-height:0px;cursor:default;text-decoration:none;">用户名：</label>
                </td>
                <td>
                    <input id="loginName" style="width:100px;height:18px;padding: 0px 0px;margin-bottom: 0px" onkeydown="enterSubmit()" type="text">
                </td>
                <td></td>
            </tr>
            <tr style="height:5px"></tr>
            <tr>
                <td style="width:40px"></td>
                <td style="width:60px">
                    <table cellspacing="0" cellpadding="0" border="0">
                        <tbody>
                        <tr>
                            <td>密</td>
                            <td style="width:8px"></td>
                            <td>码：</td>
                        </tr>
                        </tbody>
                    </table>
                </td>
                <td>
                    <input id="passwd" style="width:100px;height:18px;padding: 0px 0px;margin-bottom: 0px" onkeydown="enterSubmit()" type="password">
                </td>
                <td></td>
            </tr>
            <tr style="height:5px"></tr>

            <tr>
                <td style="width:40px"></td>
                <td style="width:60px">
                    <input style="width:50px;font-size:12px;font-weight:normal;line-height:20px;" value="确认" onclick="javascript:sendLogin();" type="button">
                </td>
                <td> </td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
</body>
</html>
